3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A drawing engine may support a z perspective control that determines whether the z or the invW field of a vertex (of type TQAVGouraud or TQAVTexture ) is to be used for hidden surface removal. You specify an engine's z perspective control by assigning a value to its kQATag_PerspectiveZ state variable. The default value of this variable for a drawing engine that supports z perspective is kQAPerspectiveZ_Off .
#define kQAPerspectiveZ_Off 0
#define kQAPerspectiveZ_On 1
Previous | QD3D Book | Overview | Chapter Contents | Next |